const path=require('path');
const {stylelint,htmlPlugin}=require('./base');

module.exports={
        mode:'development' ,
        output:{
            path:path.resolve(__dirname,'build'),
        // publicPath:'build/',  //以后会去掉，等引入htmlPlagin就会去掉
            filename:'bundle.js'
        },
        devtool:'source-map',
        devServer:{
            contentBase:path.resolve(__dirname,'./'),
            compress:true,
            open:true,
            hot:true,
            port:8089
        },
}